#ifndef _CONFIGLISTENWORK__H_
#define _CONFIGLISTENWORK__H_

#include "Poco/Activity.h"
#include "Poco/Thread.h"


#include "ConfigSlaveI.h"
//class ConfigSlaveI;
namespace Config
{

	class ConfigListenActivity
	{

	public:
		ConfigListenActivity(ConfigSlaveI * pslave);

		void start();

		void stop();


	protected:
		void runActivity();


	private:
		Poco::Activity<ConfigListenActivity> _activity;
		ConfigSlaveI * _pslave;
	};


} // namespace Config

#endif